﻿namespace XLua.LuaDLL
{
	using System.Runtime.InteropServices;

	public partial class Lua
	{
		[DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
		public static extern int luaopen_rapidjson(System.IntPtr L);

		[MonoPInvokeCallback(typeof(LuaDLL.lua_CSFunction))]
		public static int LoadRapidJson(System.IntPtr L)
		{
			return luaopen_rapidjson(L);
		}


		[DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
		public static extern int luaopen_lpeg(System.IntPtr L);

		[MonoPInvokeCallback(typeof(LuaDLL.lua_CSFunction))]
		public static int LoadLpeg(System.IntPtr L)
		{
			return luaopen_lpeg(L);
		}


		[DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
		public static extern int luaopen_pb(System.IntPtr L);

		[MonoPInvokeCallback(typeof(LuaDLL.lua_CSFunction))]
		public static int LoadLuaProfobuf(System.IntPtr L)
		{
			return luaopen_pb(L);
		}
	}
}